Skip to content

Conversation

@jcbsfilho
Copy link
Collaborator

This pull request introduces several significant improvements across the monorepo, focusing on migrating the build system from tsup to Vite, enhancing package exports with type definitions, cleaning up type-only exports, and updating dependencies. It also removes the Dependabot workflow configuration and updates the changelog to reflect recent changes.

Build System Migration and Tooling Updates:

  • Migrated the build system from tsup to vite for all major packages, updating the compile script, adding vite and vite-plugin-dts as dev dependencies, and introducing vite.config.mjs files to standardize builds. (package.json, packages/ai/package.json, packages/ai/vite.config.mjs, packages/applications/package.json, packages/applications/vite.config.mjs, packages/bundler/package.json, [1] [2] [3] [4] [5] [6]

  • Updated dependencies, including bumping semantic-release and adding Vite-related packages. (package.json, package.jsonL67-R71)

Exports and Type Definitions:

  • Enhanced all package exports to include explicit "types" entries for improved TypeScript support, and updated paths for CJS/ESM outputs to reflect the new build system. (package.json, packages/ai/package.json, packages/applications/package.json, packages/bundler/package.json, [1] [2] [3] [4] [5] [6]

  • Improved type-only exports by switching from export { ... } to export type { ... } in several types.ts files for better tree-shaking and clarity. (packages/applications/src/cache-settings/types.ts, packages/applications/src/functions-instances/types.ts, packages/applications/src/main-settings/types.ts, packages/applications/src/origins/types.ts, packages/applications/src/rules-engine/types.ts, [1] [2] [3] [4] [5] [6] [7] [8]

Polyfills and Feature Additions:

  • Added a new polyfill for Azion.KV in the bundler's local polyfills and introduced a KVContext export in the relevant polyfill module. (packages/bundler/src/helpers/azion-local-polyfills.ts, packages/bundler/src/polyfills/azion/kv/context/index.js, [1] [2]

Housekeeping and Documentation:

  • Removed the .github/dependabot.yml configuration, discontinuing Dependabot updates for this repository.

  • Updated the CHANGELOG.md with entries for all recent releases and key changes, including build system migration, schema updates, and dependency management.

Versioning:

  • Bumped the root package version to 3.1.0-stage.7. (package.json, package.jsonL3-R3)

jcbsfilho and others added 16 commits January 13, 2026 17:07
- Add Azion.KV polyfill mapping in azion-local-polyfills
- Implement KVContext class with file system-based KV storage simulation
- Add support for get, getMultiple, put, and delete operations
- Implement metadata handling with expiration and expirationTtl support
- Add support for multiple return types (text, json, arrayBuffer, stream)
- Export KVContext in polyfills index for local development usage
[skip ci]
## 3.1.0-stage.1 (2026-01-13)

* feat: add KV storage polyfill for local development (#349) ([6d4d6f9](6d4d6f9)), closes [#349](#349)
- Add AzionKV type definition with name property (6-63 characters)
- Implement KvProcessConfigStrategy for config/manifest transformation
- Add KV schema validation in azionConfigSchema and schemaManifest
- Add KV configuration example in azion.config.example.ts
- Update README with AzionKV documentation and usage examples
- Add comprehensive unit tests for KvProcessConfigStrategy
- Register KV strategy in processConfigContext factory
[skip ci]
## 3.1.0-stage.2 (2026-01-15)

* feat: add KV configuration support (#350) ([1a344ca](1a344ca)), closes [#350](#350)
* feat: migrate build system from tsup to vite

* chore: standardize package exports and vite build config across packages

* refactor: centralize Vite configuration with shared package
[skip ci]
## 3.1.0-stage.3 (2026-01-27)

* feat: migrate build system from tsup to vite (#354) ([d4130a8](d4130a8)), closes [#354](#354)
[skip ci]
## 3.1.0-stage.4 (2026-01-27)

* fix: change ES module output extension from .mjs to .js in presets (#365) ([e138dd5](e138dd5)), closes [#365](#365)
…and criteria (#366)

- Change firewall rules from single behavior object to behaviors array
- Move variable field from firewall level to individual rule level
- Replace match/variable pattern with criteria array for complex conditions
- Add support for multiple behaviors with runFunction as first behavior
- Add validation for behavior combinations and criteria structure
- Update schema to enforce criteria with conditional, variable, operator
[skip ci]
## 3.1.0-stage.5 (2026-01-30)

* fix: restructure firewall rules schema to support multiple behaviors and criteria (#366) ([429722d](429722d)), closes [#366](#366)
* fix: extract firewall behaviors schema and add runtime validation

- Extract firewallRulesBehaviorsSchema from inline definition in azionConfigSchema
- Add runtime validation to enforce runFunction as first behavior when
using multiple behaviors
- Restructure criteria schema error messages for better clarity
- Add maxItems constraint (10) for behaviors array with runFunction

* fix: update firewall behaviors validation to enforce terminal behavior rules
[skip ci]
## 3.1.0-stage.6 (2026-02-10)

* fix: extract firewall behaviors schema and add runtime validation (#384) ([bd4b04e](bd4b04e)), closes [#384](#384)
* chore: remove dependabot workflow (#373) ([6570a19](6570a19)), closes [#373](#373)
* chore: update deps (#371) ([2faebc8](2faebc8)), closes [#371](#371)
- Add 'http3' to default HTTP versions array
- Set default QUIC ports to [443] instead of null
- Update WORKLOAD_HTTP_VERSIONS constant to include 'http3'
- Update WorkloadHTTPVersion type to support 'http3'
- Remove explicit protocol configuration from all presets to use new defaults
- Update schema defaults and strategy implementation
[skip ci]
## 3.1.0-stage.7 (2026-02-11)

* fix: enable HTTP/3 and QUIC by default in workload (#385) ([c60e53c](c60e53c)), closes [#385](#385)
@jcbsfilho jcbsfilho requested a review from a team as a code owner February 11, 2026 12:25
@jcbsfilho jcbsfilho merged commit 375d97b into main Feb 11, 2026
5 checks passed
pablodiehl pushed a commit that referenced this pull request Feb 11, 2026
[skip ci]
## 3.1.0 (2026-02-11)

* Merge pull request #386 from aziontech/stage ([375d97b](375d97b)), closes [#386](#386)
* chore: remove dependabot workflow (#373) ([6570a19](6570a19)), closes [#373](#373)
* chore: update deps (#371) ([2faebc8](2faebc8)), closes [#371](#371)
* chore(release): 3.1.0-stage.1 ([b963099](b963099))
* chore(release): 3.1.0-stage.2 ([746c91a](746c91a))
* chore(release): 3.1.0-stage.3 ([af7c541](af7c541))
* chore(release): 3.1.0-stage.4 ([1a20035](1a20035))
* chore(release): 3.1.0-stage.5 ([590cb09](590cb09))
* chore(release): 3.1.0-stage.6 ([50a39bc](50a39bc))
* chore(release): 3.1.0-stage.7 ([90f1958](90f1958))
* fix: change ES module output extension from .mjs to .js in presets (#365) ([e138dd5](e138dd5)), closes [#365](#365)
* fix: enable HTTP/3 and QUIC by default in workload (#385) ([c60e53c](c60e53c)), closes [#385](#385)
* fix: extract firewall behaviors schema and add runtime validation (#384) ([bd4b04e](bd4b04e)), closes [#384](#384)
* fix: restructure firewall rules schema to support multiple behaviors and criteria (#366) ([429722d](429722d)), closes [#366](#366)
* feat: add KV configuration support (#350) ([1a344ca](1a344ca)), closes [#350](#350)
* feat: add KV storage polyfill for local development (#349) ([6d4d6f9](6d4d6f9)), closes [#349](#349)
* feat: migrate build system from tsup to vite (#354) ([d4130a8](d4130a8)), closes [#354](#354)
@pablodiehl
Copy link
Collaborator

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants